#include "uart.h"
#include "delay.h"

#include "STDIO.H"

void main() {

    char buffer[16]="hello world";

    UART_Init();  // 初始化串口

    while (1) {
        UART_SendBuffer(buffer, sizeof(buffer) / sizeof(buffer[0]));  
        DelayMillSeconds(500);
    }
}
